package com.example.lrhdemo.service;

import com.example.lrhdemo.entity.User;

import java.util.Optional;

/**
 * @Author lrh
 * @Date 2025/5/21 13:13
 * @Version 1.0
 */
public interface UserService {

    User register(User user);

    Optional<User> login(String username, String password);
}    